<?php

namespace components\frame;
class init  extends \core\init{
    public $Parts = array("controller");
    public $Confs = array("controller" => true);
    public function __construct($config) {
        parent::__construct($config);
        $router = \core\Mt::getComponent("router")->init($config['router']);
        $GLOBALS["action"] = $router->adpater->call['action'];
        $router->adpater->callBack($config);
    }
}

?>
